<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@ include file="../common/common.jsp"%>
<link rel="stylesheet" href="${ctx}/page/member/css/login.css" />
<script type="text/javascript" src="${ctx}/page/member/js/login.js"></script>
<title>登录</title>
</head>
<body>
	<%@ include file="../common/header.jsp"%>
	<div class="container">
	    <div class="row">
	        <div class="col-md-offset-3 col-md-6 center-vertical">
	            <form class="form-horizontal">
	                <span class="heading">用户登录</span>
	                <div class="form-group">
	                    <input type="text" class="form-control" id="account" name="account" placeholder="用户名/邮箱">
	                    <i class="fa fa-user"></i>
	                </div>
	                <div class="form-group help">
	                    <input type="password" class="form-control" id="password" name="password" placeholder="密码">
	                    <i class="fa fa-lock"></i>
	                    <a href="#" class="fa fa-question-circle"></a>
	                </div>
	                <div class="form-group">
	                    <span id="error_message"></span>
	                    <p></p>
	                    <button type="button" class="btn btn-info" onclick="login()">登录</button>
	                </div>
	                 <p class="text-muted text-center"> <a style="color: #333333" href="${ctx}/member/forgotPassword"><small>忘记密码了？</small></a> | 
	                 <a style="color: #333333" href="${ctx}/member/register?returnUrl=${pageUrl}">注册一个新账号</a></p>
	            </form>
	        </div>
	    </div>
	</div>
	<%@ include file="../common/footer.jsp"%>
	<script type="text/javascript">
		var returnUrl = "${returnUrl}";
	</script>
</body>
</html>